home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr53
/
pctv4n_1.zip
/
XQLDEFS.H
< prev
next >
Wrap
Text File
|
1993-06-11
|
1KB
|
58 lines
/**************************************************
*
* FILE NAME: xqldefs.h TITLE: definitions for XQL
*
* AUTHOR: Ken North
*
* SYNOPSIS: constants for Netware SQL / XQLM
* program example
*
**************************************************/
#ifndef __XQLDEFS_H
#define __XQLDEFS_H
#ifndef __XQLMSG_H
#include "xqlmsg.h" /* XQL message codes */
#endif
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
typedef int HSTMT;
typedef int HCUR;
#define SQL_SUCCESS 0
/* XQLFetch option values */
#define FETCHCURRENT 0
#define FETCHFIRST 1
#define FETCHNEXT 2
#define FETCHPREVIOUS 3
#define FETCHLAST 4
/* XQLFetch ASCII flag (separator ) values */
#define PACK 0
#define STOREBLANKS 1
#define STOREZEROS 2
#define NAMELENGTH 44
/* length of variable field */
#define VARLENGTH 78
#define MAXSQL 512
/* max fields per SQL record */
#define MAXFIELD 80
/* size of record buffer (char array) */
#define XRECSIZE 20000
#endif